package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class BlogProjectBase{
	boolean[] modified=new boolean[3];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public BlogProjectBase(){}
	public BlogProjectBase(java.lang.Long index,java.lang.Long blogId,java.lang.String name){
		setIndex(index);
		setBlogId(blogId);
		setName(name);
	}
	public void setIndex(java.lang.Long index){
		if(index!=null) {
			set("index",index);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getIndex(){
		return (java.lang.Long)get("index");
	}
	public void setBlogId(java.lang.Long blogId){
		if(blogId!=null) {
			set("blogId",blogId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getBlogId(){
		return (java.lang.Long)get("blogId");
	}
	public void setName(java.lang.String name){
		if(name!=null) {
			set("name",name);
			this.modified[2] =true;
		}
	}
	public java.lang.String getName(){
		return (java.lang.String)get("name");
	}
}
